package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TAttachment;

/**
 * 附件信息Mapper接口
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public interface TAttachmentMapper 
{
    /**
     * 查询附件信息
     * 
     * @param id 附件信息主键
     * @return 附件信息
     */
    public TAttachment selectTAttachmentById(Long id);

    /**
     * 查询附件信息列表
     * 
     * @param tAttachment 附件信息
     * @return 附件信息集合
     */
    public List<TAttachment> selectTAttachmentList(TAttachment tAttachment);

    /**
     * 新增附件信息
     * 
     * @param tAttachment 附件信息
     * @return 结果
     */
    public int insertTAttachment(TAttachment tAttachment);

    /**
     * 修改附件信息
     * 
     * @param tAttachment 附件信息
     * @return 结果
     */
    public int updateTAttachment(TAttachment tAttachment);

    /**
     * 删除附件信息
     * 
     * @param id 附件信息主键
     * @return 结果
     */
    public int deleteTAttachmentById(Long id);

    /**
     * 批量删除附件信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTAttachmentByIds(String[] ids);

    List<TAttachment> selectTAttachmentListByAttachId(TAttachment tAttachment);

    List<TAttachment> selectHouseTAttachmentList(TAttachment tAttachment);
    List<TAttachment> selectLandTAttachmentList(TAttachment tAttachment);
}
